﻿using MaximServices.Model;
using MaximServices.Repository;
using System;
using System.Collections.Generic;
using System.Text;

namespace MaximServices.Services
{
    public class MottoTargetServices
    {
        public MottoRepository _mottoRepository;

        public MottoTargetServices(MottoRepository mottoRepository)
        {
            _mottoRepository = mottoRepository;
        }

        public ResultModel<List<string>> GetTargetList()
        {
            return BuildResult.Success(_mottoRepository.GetTargetList());
        }
    }
}
